package com.hexanet.server;

import java.util.HashSet;
import java.util.Set;

import javax.ws.rs.ApplicationPath;
import javax.ws.rs.core.Application;

import com.hexanet.server.reader.HexanetReader;
import com.hexanet.server.resources.CellResource;
import com.hexanet.server.resources.PlayerResource;

@ApplicationPath("/resources")
public class HexanetServerApplication extends Application {

    @Override
    public Set<Class<?>> getClasses() {
	Set<Class<?>> s = new HashSet<Class<?>>();
	s.add(PlayerResource.class);
	s.add(CellResource.class);
	s.add(HexanetReader.class);
	return s;
    }
}
